package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HIS_PHARMACY database table.
 * 
 */
@Entity
@Table(name="HIS_PHARMACY")
@NamedQuery(name="HisPharmacy.findAll", query="SELECT h FROM HisPharmacy h")
public class HisPharmacy implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="YF_NO")
	private long yfNo;

	@Column(name="YF_ADDRESS")
	private String yfAddress;

	@Column(name="YF_NAME")
	private String yfName;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisPharmacy() {
	}

	public long getYfNo() {
		return this.yfNo;
	}

	public void setYfNo(long yfNo) {
		this.yfNo = yfNo;
	}

	public String getYfAddress() {
		return this.yfAddress;
	}

	public void setYfAddress(String yfAddress) {
		this.yfAddress = yfAddress;
	}

	public String getYfName() {
		return this.yfName;
	}

	public void setYfName(String yfName) {
		this.yfName = yfName;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}